package com.eurasia.assignment.infrastructure.hoj;

import com.eurasia.assignment.service.port.out.HOJAuthToken;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface HOJAuthTokenMapper {
    HOJAuthTokenMapper INSTANCE = Mappers.getMapper(HOJAuthTokenMapper.class);

    HOJAuthTokenEntity fromDomain(HOJAuthToken token);

    HOJAuthToken toDomain(HOJAuthTokenEntity entity);
}
